package com.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_student") // 定义该VO类对应的数据表名称
public class Student {
    @TableId // 配置主键列
    private String id;
    private String studentnumber;
    private String name;
    private Integer age;

    private Date birthday;
    private String college;
    private String classnum;
    @TableLogic // 逻辑删除处理
    private Integer isdel; // 逻辑删除字段


    public void setId(String id) {
        this.id = id;
    }


    public void setStudentnumber(String studentnumber) {
        this.studentnumber = studentnumber;
    }


    public void setName(String name) {
        this.name = name;
    }


    public void setAge(Integer age) {
        this.age = age;
    }


    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }


    public void setCollege(String college) {
        this.college = college;
    }


    public void setClassnum(String classnum) {
        this.classnum = classnum;
    }

    public String getId() {
        return id;
    }

    public String getStudentnumber() {
        return studentnumber;
    }

    public String getName() {
        return name;
    }

    public Integer getAge() {
        return age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public String getCollege() {
        return college;
    }

    public String getClassnum() {
        return classnum;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
}
